home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000361_fdc@columbia.edu_Fri Feb 8 16:54:44 EST 2002.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
2KB
|
42 lines
Article: 13203 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: if syntax change
Date: 8 Feb 2002 16:54:37 -0500
Organization: Columbia University
Lines: 25
Message-ID: <a41het$1na$1@watsol.cc.columbia.edu>
References: <26dc2188.0202081336.79eb8459@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1013205278 24121 128.59.39.139 (8 Feb 2002 21:54:38 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 8 Feb 2002 21:54:38 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13203
In article <26dc2188.0202081336.79eb8459@posting.google.com>,
David L. Harfst <harfst@cms-stl.com> wrote:
: I have the following block of code which runs fine on
: C-Kermit 6.0.192 on HP-UX 10.20:
:
: xif EQUAL \$(SPEED) 14400 {
: # +MS=10 - Limits the connection speed to 14.4 KBaud
: set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
: }
:
: I'm trying to port this script to Linux, on which I'm
: running C-Kermit 8.0.200 and RedHat 7.2.
:
: ?Invalid: xif EQUAL \$(SPEED) 14400 {, set modem command
: Init-string AT&F0+MS=10M0X4V1S95=41\{13}
:
I think the problem is that the environment variable SPEED is not
defined. Thus a field is missing. You could do it this way:
xif EQUAL "\$(SPEED)" "14400" {
# +MS=10 - Limits the connection speed to 14.4 KBaud
set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
}
- Frank